Dialog Box Results
QuickDraw GX print dialog boxes support dialog box results. Results are defined in the dialog box result enumeration.
enum { gxCancelSelected = (gxDialogResult) 0, gxOKSelected = (gxDialogResult) 1, gxRevertSelected = (gxDialogResult) 2 }; typedef long gxDialogResult;Constant descriptions
gxCancelSelected
- Represents a cancelation of the dialog box without action being taken, such as when the user chooses Cancel or presses Escape while in a dialog box.
gxOKSelected
- Represents a confirmation, such as when the user chooses Format in the Page Setup dialog box.
gxRevertSelected
- Represents a request to undo one or more actions, such as when the user chooses Remove to remove a page format while in the Custom Page Setup dialog box.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help